package com.xiaotu.easypoi.testimport.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import lombok.Data;

/**
 * @author 张晓
 * @create 2021-05-18 21:37
 */
@Data
public class ImportUserModel {

    @Excel(name = "姓名")
    private String userName;

    /**
     * 1:男 0:女
     */
    @Excel(name = "性别", replace = {"男_1", "女_0"})
    private Integer gender;

    @ExcelEntity
    private ImportUserExternalModel external;

}
